Skip to content

gh-137568: Ignore startup file in test_dumb_terminal_exits_cleanly#140295

Merged
ZeroIntensity merged 3 commits into
python:mainfrom
johnslavik:test-dumb-terminal-ignore-pythonstartup
Oct 26, 2025
Merged

gh-137568: Ignore startup file in test_dumb_terminal_exits_cleanly#140295
ZeroIntensity merged 3 commits into
python:mainfrom
johnslavik:test-dumb-terminal-ignore-pythonstartup

Conversation

@johnslavik

@johnslavik johnslavik commented Oct 18, 2025

Copy link
Copy Markdown
Member

The test examines tracebacks, but one can occur in a failing startup file and the test shouldn't fail just because of that.

CC @ZeroIntensity (mentorship): skip news here. We'll want to backport as well -- let's add 3.13 and 3.14 to the issue.

Comment thread Lib/test/test_pyrepl/test_pyrepl.py
Comment thread Lib/test/test_pyrepl/test_pyrepl.py Outdated
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
@ZeroIntensity ZeroIntensity merged commit 06c7794 into python:main Oct 26, 2025
43 checks passed
@miss-islington-app

Copy link
Copy Markdown

Thanks @bswck for the PR, and @ZeroIntensity for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 26, 2025
…anly` (pythonGH-140295)

(cherry picked from commit 06c7794)

Co-authored-by: Bartosz Sławecki <bartosz@ilikepython.com>
@miss-islington-app

Copy link
Copy Markdown

Sorry, @bswck and @ZeroIntensity, I could not cleanly backport this to 3.13 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 06c779474c7f53bccb8ebf42c66e73b2488bf488 3.13

@bedevere-app

bedevere-app Bot commented Oct 26, 2025

Copy link
Copy Markdown

GH-140628 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Oct 26, 2025
@ZeroIntensity

Copy link
Copy Markdown
Member

@bswck Could you do the 3.13 backport?

johnslavik added a commit to johnslavik/cpython that referenced this pull request Oct 26, 2025
…its_cleanly` (pythonGH-140295)

(cherry picked from commit 06c7794)

Co-authored-by: Bartosz Sławecki <bartosz@ilikepython.com>
@bedevere-app

bedevere-app Bot commented Oct 26, 2025

Copy link
Copy Markdown

GH-140632 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.13 bugs and security fixes label Oct 26, 2025
ZeroIntensity pushed a commit that referenced this pull request Oct 26, 2025
…eanly` (GH-140295) (GH-140628)

gh-137568: Ignore startup file in `test_dumb_terminal_exits_cleanly` (GH-140295)
(cherry picked from commit 06c7794)

Co-authored-by: Bartosz Sławecki <bartosz@ilikepython.com>
ZeroIntensity pushed a commit that referenced this pull request Oct 26, 2025
@johnslavik johnslavik deleted the test-dumb-terminal-ignore-pythonstartup branch December 2, 2025 00:44
StanFromIreland pushed a commit to StanFromIreland/cpython that referenced this pull request Dec 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants